/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.fjut.se1602.czq.service.impl;

import edu.fjut.se1602.czq.dao.impl.PetOwnerDaoImpl;
import edu.fjut.se1602.czq.entity.PetOwner;
import edu.fjut.se1602.czq.service.PetOwnerService;
import java.util.List;

/**
 *
 * @author asus
 */
public class PetOwnerServiceImpl implements PetOwnerService{
    PetOwnerDaoImpl podi=new PetOwnerDaoImpl();
    @Override
    public int Login(String userName, String userPassword) {
        return podi.Login(userName, userPassword);
    }

    @Override
    public List<PetOwner> getOwners() {
        //PetOwnerDaoImpl podi=new PetOwnerDaoImpl();
        return podi.getAllOwner();
    }
    
}
